'use strict'

var Sequelize = require('sequelize');
var sequelize =require('../db');

const table = sequelize.define('articles', {
    // attributes
    title: {
      type: Sequelize.STRING(2000),
      allowNull: true
    },bauthor: {
      type: Sequelize.STRING(2000),
    },brief: {
      type: Sequelize.STRING(2000),
    }
  }, {
    // options
  });

  module.exports=table;